package it.newinstance.jrainbow.source;


import java.util.NoSuchElementException;

/**
 * @author Luigi R. Viggiano
 * @version $Id: TaggedCharIterator.java 138 2007-06-12 12:23:29Z luigi.viggiano $
 */
public class TaggedCharIterator extends AbstractIterator<TaggedChar> {
	public TaggedCharIterator(TaggedSource source) {
		super(source);
	}

	public TaggedChar next() {
        if (! hasNext()) throw new NoSuchElementException();
        return taggedChars[position++];
    }
}
